package com.entity;

import org.apache.ibatis.type.Alias;

@Alias("BaseFileRel")
public class FileRel extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 附件编号
	 */
	private String fileId;

	/**
	 * 附件类型
	 */
	private String fileType;

	/**
	 * 关联编号
	 */
	private String relevanceId;

	/**
	 * 关联表名
	 */
	private String relevanceTable;

	/**
	 * 上传人
	 */
	private String uploader;

	/**
	 * 上传时间
	 */
	private String uploadTime;

	/**
	 * 备注信息
	 */
	private String remark;

	/**
	 * url信息
	 */
	private String urlInfor;


	public FileRel () {
		super();
	}


	public FileRel(String id, String fileId, String fileType,
			String relevanceId, String relevanceTable, String uploader,
			String uploadTime, String remark, String urlInfor) {
		super();
		this.id = id;
		this.fileId = fileId;
		this.fileType = fileType;
		this.relevanceId = relevanceId;
		this.relevanceTable = relevanceTable;
		this.uploader = uploader;
		this.uploadTime = uploadTime;
		this.remark = remark;
		this.urlInfor = urlInfor;
	}


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getFileId() {
		return fileId;
	}


	public void setFileId(String fileId) {
		this.fileId = fileId;
	}


	public String getFileType() {
		return fileType;
	}


	public void setFileType(String fileType) {
		this.fileType = fileType;
	}


	public String getRelevanceId() {
		return relevanceId;
	}


	public void setRelevanceId(String relevanceId) {
		this.relevanceId = relevanceId;
	}


	public String getRelevanceTable() {
		return relevanceTable;
	}


	public void setRelevanceTable(String relevanceTable) {
		this.relevanceTable = relevanceTable;
	}


	public String getUploader() {
		return uploader;
	}


	public void setUploader(String uploader) {
		this.uploader = uploader;
	}


	public String getUploadTime() {
		return uploadTime;
	}


	public void setUploadTime(String uploadTime) {
		this.uploadTime = uploadTime;
	}


	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}


	public String getUrlInfor() {
		return urlInfor;
	}


	public void setUrlInfor(String urlInfor) {
		this.urlInfor = urlInfor;
	}


	@Override
	public String toString() {
		return "FileRel [id=" + id + ", fileId=" + fileId + ", fileType="
				+ fileType + ", relevanceId=" + relevanceId
				+ ", relevanceTable=" + relevanceTable + ", uploader="
				+ uploader + ", uploadTime=" + uploadTime + ", remark="
				+ remark + ", urlInfor=" + urlInfor + "]";
	}

	

}

